package com.example.buildermode.three;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @version 1.0.0
 * @className: Book
 * @description: 具体产品类
 * @author: zhangjunfa
 * @date: 2022/6/12 15:40
 */
public class Book extends Product {
    private int price = 0;

    public Book() {
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

}
